{% extends 'EchecsadminBundle:Admin:index.html.twig' %}


{% block content %}
<form action="{{path('_create_categorie') }}" method="post" {{ form_enctype (form)}}>
    
{{ form_errors(form.nom) }}
{{ form_label(form.nom, 'Nom de la catégorie'|trans) }}
{{ form_widget(form.nom) }}  
    
{{ form_errors(form.navigation) }}
{{ form_label(form.navigation, 'Afficher dans la navigation ?'|trans) }}
{{ form_widget(form.navigation) }}

{{ form_errors(form.sidebar) }}
{{ form_label(form.sidebar, 'Afficher dans la sidebar ?'|trans) }}
{{ form_widget(form.sidebar) }}

{{ form_rest (form) }}
<br>
	<input type="submit" />
</form>
{% endblock %}
